package com.inspur.his.service.impl;

import com.inspur.his.mapper.UserMapper;
import com.inspur.his.pojo.User;
import com.inspur.his.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.HashMap;

@Service("userService")
public class UserServiceImpl implements UserService {
    @Autowired
    private UserMapper userMapper;
    @Override
    public User getUserByNameAndPass(HashMap map) {
        return userMapper.getUserByNameAndPass(map);
    }

    public void updatePwd(HashMap map){
        userMapper.updatePwd(map);
    }
}
